package com.services;

import java.util.HashSet;
import java.util.Set;

import javax.ws.rs.core.Application;
import com.index.Index;

public class MyServices extends Application  {

	private static Set<Object> services = new HashSet<Object>();	

	
	public  MyServices() {		
			
			// initialize restful services			
			services.add(new Index());
		
	}

	@Override
	public  Set<Object> getSingletons() {
		return services;
	}	
	
	public  static Set<Object> getServices() {		
		return services;
	}
	
}